package com.hjt.service.dto;

import lombok.Data;

@Data
public class APIResponse <T>{
    private int code = 200;
    private T content;
    private String userMsg;
    private String devMsg;

    public static <T> APIResponse<T> build() {
        return new APIResponse<T>();
    }

    public APIResponse<T> content(T content) {
        this.content = content;
        return this;
    }
}
